﻿using SubForum.ObjectModel.Avatars;
using SubForum.ObjectModel.Roles;
using SubForum.ObjectModel.Violations;
using System;
using System.Web.Security;

namespace SubForum.ObjectModel.Users
{
    public class UserProfile 
    {
        public MembershipUser MembershipUser
        {
            get;
            set;
        }

        public UserType UserType
        {
            get;
            set;
        }

        public String UserName
        {
            get;
            set;
        }


        public String Password
        {
            get;
            set;
        }
         
        public String UserTypeString
        {
            get
            {
                return Enum.GetName(typeof (UserType), UserType );
            }
            set
            {
                UserType = (UserType)Enum.Parse(typeof(UserType), value);
            }
        }

        public string FirstName
        {
            get;
            set;
        }

        public string LastName
        {
            get;
            set;
        }

        public string DisplayName
        {
            get;
            set;
        }

        public string Email
        {
            get;
            set;
        }

        public string Country
        {
            get;
            set;
        }

        public string City
        {
            get;
            set;
        }


       
    }
}
